$(function(){
	// 视频弹窗
	
	$('.play').on('click', function(){
		var temp = $('#videoTemp').html(),
			video = document.getElementById('video');

		video.pause();
		layer.open({
			type: 1,
			title: 'Start Global,Start With China',
			area: ['60%'],
			content: temp,
			cancel: function(){
				video.play();
			},
			success: function(){
				var videoPlay = document.getElementById('videoPlay');
				videoPlay.muted = false;
				videoPlay.volume = 1;
			}
		});
	});
});